import { createApp } from 'vue'
import App from './App.vue'
import Router from './router'
import Store, { store } from './store'

import './styles/index.scss'
import 'virtual:svg-icons-register'

// Export EpFormMaking and RenderFrom components by default
import epFormMaking from 'ep-form-making'
import 'ep-form-making/lib/style.css'

// If you do not need FormMaking in the current project, you can use the RenderFrom component
// import renderFrom from 'ep-form-making/lib/render/index.umd.js'
// import 'ep-form-making/lib/render/style.css'

const app = createApp(App)
app.use(Store)
app.use(Router(store))
app.use(epFormMaking)
// app.use(renderFrom)
app.mount('#app')
